package com.example.demo.repo;


import com.example.demo.model.User;
import org.springframework.data.repository.CrudRepository;

public interface UserRepository extends CrudRepository<User,Integer> {
    User findUserByUsername(String account);
    User deleteUserByUsername(String account);
    boolean existsUserByUsername(String account);
}
